package com.aruba.mapper;

import com.aruba.bean.Player;

import java.util.List;

public interface PlayerMapper {
    /**
     * 新增一个玩家
     * @param player
     * @return
     */
    Integer addPlayer(Player player);

    /**
     * 获取所有玩家
     * @return
     */
    List<Player> findAllPlayers();
}
